/*
 * Copyright (C) 2017-2021
 * All rights reserved, Designed By 深圳中科鑫智科技有限公司
 * Copyright authorization contact 18814114118
 */
package com.jeesite.modules.sys.dao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.sys.entity.CereBuyerUser;
import com.jeesite.modules.sys.page.BuyerUser;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

@MyBatisDao
public interface CereBuyerUserDAO extends BaseMapper<CereBuyerUser> {
    int deleteByPrimaryKey(@Param("buyerUserId") Long buyerUserId);

    int insert(CereBuyerUser record);

    CereBuyerUser getByPhone(String phone);

    CereBuyerUser selectByPrimaryKey(Long buyerUserId);

    int updateByPrimaryKeySelective(CereBuyerUser record);

    BuyerUser findByPhone(@Param("phone") String phone);

    void updateByPrimaryKey(CereBuyerUser buyerUser);

    void updatePwd(CereBuyerUser buyerUser);
}
